#{extends 'eventLayout.html' /}
#{set title: event.name /}
#{set subtitle: event.nick /}

#{set 'moreStyles' }
*{<link href="@{'public/ckeditor/_samples/sample.css'}" rel="stylesheet" type="text/css"/>}*
<script src="@{'/public/ckeditor/ckeditor.js'}" type="text/javascript" charset="${_response_encoding}"></script>
<script src="@{'/public/ckeditor/_samples/sample.js'}" type="text/javascript" charset="${_response_encoding}"></script>
#{/set}


<h2>${event.name}</h2>
<form action="/${event.nick}/saveIndexContent" method="post">
    <p>
        <label for="editor1">
            Editor 1:</label>
        <textarea class="ckeditor" cols="80" id="editor1" name="indexContent" rows="10">
        ${event.indexContent}</textarea>
    </p>

    <p>
        <input type="submit" value="Guardar"/>
    </p>
</form>